← Back
Editing: DOMDocumentFragment_construct_error_001.phpt
--TEST-- DOMDocumentFragment::__construct() with too many errors. --CREDITS-- Eric Lee Stewart <ericleestewart@gmail.com> # TestFest Atlanta 2009-05-24 --SKIPIF-- <?php require_once('skipif.inc'); ?> --FILE-- <?php try { $fragment = new DOMDocumentFragment("root"); } catch (TypeError $e) { echo $e->getMessage(), "\n"; } ?> --EXPECT-- DOMDocumentFragment::__construct() expects exactly 0 arguments, 1 given
Save File
Cancel